package com.zttek.photosShareProject.modules.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Y
 * @since 2017-09-06
 */
@TableName("rank_week")
public class RankWeek extends Model<RankWeek> implements Rank {

    private static final long serialVersionUID = 1L;

    @TableId("week_num")
	private Integer weekNum;
	@TableField("first_id")
	private Long firstId;
	@TableField("second_id")
	private Long secondId;
	@TableField("third_id")
	private Long thirdId;
	@TableField("fourth_id")
	private Long fourthId;
	@TableField("fifth_id")
	private Long fifthId;
	@TableField("sixth_id")
	private Long sixthId;
	@TableField("seventh_id")
	private Long seventhId;
	@TableField("eighth_id")
	private Long eighthId;
	@TableField("ninth_id")
	private Long ninthId;
	@TableField("tenth_id")
	private Long tenthId;
	@TableField("update_time")
	private Date updateTime;


	public Integer getWeekNum() {
		return weekNum;
	}

	public void setWeekNum(Integer weekNum) {
		this.weekNum = weekNum;
	}

	public Long getFirstId() {
		return firstId;
	}

	public void setFirstId(Long firstId) {
		this.firstId = firstId;
	}

	public Long getSecondId() {
		return secondId;
	}

	public void setSecondId(Long secondId) {
		this.secondId = secondId;
	}

	public Long getThirdId() {
		return thirdId;
	}

	public void setThirdId(Long thirdId) {
		this.thirdId = thirdId;
	}

	public Long getFourthId() {
		return fourthId;
	}

	public void setFourthId(Long fourthId) {
		this.fourthId = fourthId;
	}

	public Long getFifthId() {
		return fifthId;
	}

	public void setFifthId(Long fifthId) {
		this.fifthId = fifthId;
	}

	public Long getSixthId() {
		return sixthId;
	}

	public void setSixthId(Long sixthId) {
		this.sixthId = sixthId;
	}

	public Long getSeventhId() {
		return seventhId;
	}

	public void setSeventhId(Long seventhId) {
		this.seventhId = seventhId;
	}

	public Long getEighthId() {
		return eighthId;
	}

	public void setEighthId(Long eighthId) {
		this.eighthId = eighthId;
	}

	public Long getNinthId() {
		return ninthId;
	}

	public void setNinthId(Long ninthId) {
		this.ninthId = ninthId;
	}

	public Long getTenthId() {
		return tenthId;
	}

	public void setTenthId(Long tenthId) {
		this.tenthId = tenthId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.weekNum;
	}

	@Override
	public String toString() {
		return "RankWeek{" +
			"weekNum=" + weekNum +
			", firstId=" + firstId +
			", secondId=" + secondId +
			", thirdId=" + thirdId +
			", fourthId=" + fourthId +
			", fifthId=" + fifthId +
			", sixthId=" + sixthId +
			", seventhId=" + seventhId +
			", eighthId=" + eighthId +
			", ninthId=" + ninthId +
			", tenthId=" + tenthId +
			", updateTime=" + updateTime +
			"}";
	}
}
